package com.lq.educationsystem.student.service;

import com.lq.educationsystem.common.util.Result;
import com.lq.educationsystem.common.util.ResultPage;
import com.lq.educationsystem.common.vo.StudentPageVo;
import com.lq.educationsystem.student.entiy.StudentTb;

public interface StudentBaseInterface {
    /**
     * 查询单个数据
     * @param studentId
     * @return
     */
    Result queryById(Integer studentId);

    /**
     * 添加新的学生
     * @param studentTb
     * @return
     */
    void insertStudentInfo(StudentTb studentTb);

    /**
     * 更新学生信息
     * @param studentTb
     */
    void updateStudentInfo(StudentTb studentTb);

    /**
     * 删除用户信息
     * @param studentId
     */
    void deleteStudentInfo(Integer studentId);

    ResultPage<StudentTb> queryList(StudentPageVo studentPageVo);
}
